package com.lightjet.macross.base.upms.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.List;

/**
 * @author : lijia
 * @version : 1.0 2020-02-12 09:21
 * description : D2-Admin后台模板菜单的DTO
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "适用于D2-Admin Vue后台模板的菜单DTO")
public class D2AdminMenuDTO {
    @ApiModelProperty(value = "菜单ID")
    private String id;

    @ApiModelProperty(value = "菜单路径，没有表示节点")
    private String path;

    @ApiModelProperty(value = "菜单名称")
    private String title;

    @ApiModelProperty(value = "菜单图标")
    private String icon;

    @ApiModelProperty(value = "是否隐藏")
    private boolean hidden = false;

    @ApiModelProperty(value = "子菜单信息")
    private List<D2AdminMenuDTO> children;
}
